<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>静态资源图标</title>
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <style>
        body {
            background: #f5f7fa;
            margin: 0;
            font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        }
        .container {
            max-width: 1100px;
            margin: 40px auto;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 12px 0 rgba(0,0,0,.08);
            padding: 32px 24px 24px 24px;
        }
        .icon-list {
            display: flex;
            flex-wrap: wrap;
            gap: 32px 24px;
        }
        .icon-item {
            width: 140px;
            text-align: center;
            margin-bottom: 24px;
            background: #f8f9fa;
            border-radius: 8px;
            box-shadow: 0 1px 4px rgba(0,0,0,.04);
            padding: 18px 8px 10px 8px;
            transition: box-shadow 0.2s;
        }
        .icon-item:hover {
            box-shadow: 0 4px 16px rgba(64,158,255,0.12);
        }
        .icon-img {
            width: 64px;
            height: 64px;
            margin-bottom: 10px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        .icon-name {
            font-size: 14px;
            color: #303133;
            word-break: break-all;
        }
    </style>
</head>
<body>
    <div id="static-icons-app">
        <div class="container">
            <h2 style="margin-bottom: 24px;">SVG静态资源图标列表</h2>
            <div class="icon-list">
                <div class="icon-item" v-for="icon in icons" :key="icon.name">
                    <img class="icon-img" :src="icon.url" :alt="icon.name">
                    <div class="icon-name">{{icon.name}}</div>
                </div>
            </div>
        </div>
    </div>
    <script src="https://unpkg.com/vue@2.6.14/dist/vue.js"></script>
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <script>
        new Vue({
            el: '#static-icons-app',
            data() {
                return {
                    icons: [
                        { name: '变压器 .svg', url: '../sources/pic/变压器 .svg' },
                        { name: '通用配电柜.svg', url: '../sources/pic/通用配电柜.svg' },
                        { name: '蓄电池.svg', url: '../sources/pic/蓄电池.svg' },
                        { name: '油箱剩余油量.svg', url: '../sources/pic/油箱剩余油量.svg' },
                        { name: '柴油发电机 .svg', url: '../sources/pic/柴油发电机 .svg' },
                        { name: '室内环境.svg', url: '../sources/pic/室内环境.svg' },
                        { name: '管网压力.svg', url: '../sources/pic/管网压力.svg' },
                        { name: '水池.svg', url: '../sources/pic/水池.svg' },
                        { name: '风扇.svg', url: '../sources/pic/风扇.svg' },
                        { name: '水泵.svg', url: '../sources/pic/水泵.svg' },
                        { name: '集水井.svg', url: '../sources/pic/集水井.svg' }
                    ]
                }
            }
        });
    </script>
</body>
</html> 